<template>
  <view class="city-container">
        <index-list @select="select"></index-list>
  </view>
</template>

<script>
  import cityList from "@/uni_modules/index-list/components/index-list/cities.json";
  export default {
    data() {
      return {
        
      }
    },
    methods: {
      select(data) {
		  uni.setStorageSync('currentLocate', data.name);
        console.log(data,data.name)
      },
	  search(data) {
			console.log(222, data)
	  }
    }
  }
</script>

<style>
	page{
	  background-color: #fff;
	}
</style>
<style scoped lang="scss">
  .search-wrapper {
		position: relative;
		
	}
</style>